/*
 * @Author: your name
 * @Date: 2021-12-20 23:03:16
 * @LastEditTime: 2021-12-20 23:43:38
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \json-serveg:\桌面2\50htmljs\hidden\script.js
 */
const search = document.querySelector('.search')
const btn = document.querySelector('.btn')
const input = document.querySelector('.input')

btn.addEventListener('click',()=>{
    search.classList.toggle('active')
    input.focus()
})